<template>
  <div>
    <el-container>
      <el-aside :width="iscollapse ? '65px' : '200px'">
        <asside-menu />
      </el-aside>
      <el-container>
        <el-header>
          <home-header />
        </el-header>
        <tags-header></tags-header>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import AssideMenu from "@/components/layout/assideMenu.vue";
import HomeHeader from "@/components/layout/homeHeader.vue";
import TagsHeader from "@/components/layout/tagsHeader.vue"
export default {
  components: {
    AssideMenu,
    HomeHeader,
    TagsHeader
  },

  data() {
    return {};
  },

  mounted() {},

  methods: {},

  computed: {
    iscollapse() {
      return this.$store.state.tab.iscollapse;
    },
  },
};
</script>

<style lang="less" scoped>
.el-header{
  padding: 0;
}
.el-aside {
  transition: 0.5s;
}
.el-main{
  padding: 0 20px;
}
</style>